package com.kxmall.storage.domain.bo;

import com.kxmall.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * 商品入库业务对象
 */

@Data
@ApiModel("商品入库业务对象")
public class KxStorageInGoodsBo {

    @ApiModelProperty(value = "商品入库ID")
    @NotNull(message = "商品入库ID不能为空", groups = { EditGroup.class })
    private Long id;

    @ApiModelProperty(value = "仓库ID")
    private Long storageId;

    @ApiModelProperty(value = "入库单号")
    private String inStockOrder;

    @ApiModelProperty(value = "入库状态 0:待入库;1:已入库")
    private Integer states;

    @ApiModelProperty(value = "入库人")
    private String ingoingPerson;

    @ApiModelProperty(value = "入库时间")
    private Date ingoingTime;

    @ApiModelProperty(value = "入库日期")
    private String ingoingDay;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "仓库ids")
    private List<Long> storageIds;

    @ApiModelProperty(value = "入库商品列表")
    private List<KxStorageInProductBo> inStorageProductBoList;
}
